From: Richard M. Stallman Date: Tue, 23 Jul 2002 19:08:14 +0000 (+0000) Subject: (Fmessage): Treat "" like nil. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~31415 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e8f20b77af5e9333a4bae27d6f6ed4ea5ae9dd16;p=emacs.git (Fmessage): Treat "" like nil. --- diff --git a/src/editfns.c b/src/editfns.c index 2244668649e..e8b12d76a3c 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2918,7 +2918,9 @@ usage: (message STRING &rest ARGS) */) int nargs; Lisp_Object *args; { - if (NILP (args[0])) + if (NILP (args[0]) + || (STRINGP (args[0]) + && SBYTES (args[0]) == 0)) { message (0); return Qnil;